#include "Is.hpp"

Is::Is()
{
}

bool     Is::isNum(QString str)
{
    int it = 0, length = str.length();

    while (it < length)
    {
        if (!(str[it] >= '0' && str[it] <= '9'))
            return false;
        it++;
    }
    return true;
}
